﻿<controls:ChildWindow
           xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
           xmlns:controls="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls"
           xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
           xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="FIFP.DashBoard.Views.Warning"
           Width="380" Height="170" 
           DataContext="{Binding ImportVM, Source={StaticResource ServiceLocator}}"
           Title="Warning" Style="{StaticResource ChildWindowStyle1}">
    <Grid x:Name="LayoutRoot" Margin="2">
        <Grid.RowDefinitions>
            <RowDefinition />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <StackPanel Margin="10">
            <TextBlock x:Name="lblMessage" Margin="0" Visibility="Visible" TextWrapping="Wrap" Text="Integration/Admin go to raw data and save as a basic scenario" Foreground="White" HorizontalAlignment="Left" />
            <!--<TextBox x:Name="txtScenario" Text="{Binding ScenarioName, Mode=TwoWay, NotifyOnValidationError=True, UpdateSourceTrigger=Default}" MaxLength="100" Margin="0" Style="{StaticResource TextBoxStyle1}" TextWrapping="Wrap" Height="30" />-->
        </StackPanel>
        <Grid Margin="0" Grid.Row="1" HorizontalAlignment="Center">
            <Grid.ColumnDefinitions>
                <ColumnDefinition Width="Auto"/>
                <ColumnDefinition Width="Auto"/>
            </Grid.ColumnDefinitions>

            <Button x:Name="CancelButton" Click="CancelButton_Click" Height="23" Margin="5,0,0,0"  Style="{StaticResource ChildWindowButtonStyle}" VerticalAlignment="Bottom" d:LayoutOverrides="Height" Grid.Column="1" Width="90" HorizontalAlignment="Left" >
                <Grid HorizontalAlignment="Center">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>
                    <TextBlock Grid.Column="1" HorizontalAlignment="Center" Margin="0" TextWrapping="Wrap" Text="Cancel" VerticalAlignment="Center"/>
                    <Image HorizontalAlignment="Right" Height="15" Margin="0,0,8,0" Source="/FIFP.DashBoard;component/Images/Dismiss.png" Stretch="Fill" VerticalAlignment="Center" Width="16"/>
                </Grid>
            </Button>
            <Button x:Name="OKButton" Click="OKButton_Click" Width="90" Height="23" HorizontalAlignment="Left" Margin="0"  Style="{StaticResource ChildWindowButtonStyle}" VerticalAlignment="Bottom" d:LayoutOverrides="Height" >
                <Grid HorizontalAlignment="Center">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition Width="Auto"/>
                        <ColumnDefinition Width="Auto"/>
                    </Grid.ColumnDefinitions>
                    <Image HorizontalAlignment="Right" Height="16" Margin="0,0,8,0" Source="/FIFP.DashBoard;component/Images/accept.png" Stretch="Fill" VerticalAlignment="Center" Width="19"/>
                    <TextBlock Grid.Column="1" HorizontalAlignment="Center" Margin="0" TextWrapping="Wrap" Text="Ok" VerticalAlignment="Center"/>
                </Grid>
            </Button>
        </Grid>
    </Grid>
</controls:ChildWindow>